<!DOCTYPE html>
<html>
<#include "../head.html">
    <body class="full">
    <table class="mc">
        <tr>
            <td class="mc-l">
                <!--左侧导航---{-->
                <div id="navPanelContainer">
                    <div class="system-logo cd"></div>
                    <!--管理员信息---{-->
                    <#include "../adminInfo.html">
                        <!--管理员信息---}-->
                        <div class="nav-wrap">
                            <#include "left.html">
                        </div>
                </div>
                <!--左侧导航---}-->
            </td>
            <td class="mc-m">
                <div class="navToggle"></div>
            </td>
            <td class="mc-r">
                <!--顶部导航---{-->
                <#include "../topNav.html">
                    <!--顶部导航---}-->

                    <!--面包屑导航---{-->
                    <#assign moduleName="交易订单管理">
                        <#include "banner.html">
                            <!--面包屑导航---}-->

                            <!--工具栏--{-->
                            <div id="toolbar" class="clearfix">
                                
                                <div class="toolbor-module search">
                    					<input type="button" value="搜索"  class="input-button" onclick="sousuo();">
                				</div>
                				
                				
                				
                				
                				
                                <div class="toolbor-module search">
					                  <div class="formTit">交易类型：</div>
					                   <div class="select-box" id="tradeType">
					                        <div class="tag-select">全部</div>
					                        <ul class="tag-options">
					                           <li data-value="">全  部</li>
					                           <li data-value="112">资产管理公司借款提现</li>
					                           <li data-value="113">奖励提现</li>
					                            <li data-value="114">准备金提现</li>
					                        </ul>
					                    </div>
					            </div>
					             <div class="toolbor-module search">
					                  <div class="formTit">状态：</div>
					                   <div class="select-box" id="status">
					                        <div class="tag-select">全部</div>
					                        <ul class="tag-options">
					                           <li data-value="">全  部</li>
					                           <li data-value="1">审核通过</li>
					                           <li data-value="2">申请中</li>
					                            <li data-value="3">请求失败</li>
					                             <li data-value="4">审核不通过</li>
					                             <li data-value="=5">用户取消</li>
					                        </ul>
					                    </div>
					            </div>
                                <div class="toolbor-module search">
                                <div class="formTit">用户名：</div>
                                    <input type="text" name="userName" id="userName" value="请输入用户名" class="search-value">
                                </div>
                                
                                  <div class="toolbor-module search">
                                <div class="formTit">用户ID：</div>
                                    <input type="text" name="userId" id="userId" value="请输入ID" class="search-value">
                                </div>
                                
                                  <div class="toolbor-module search">
                                <div class="formTit">用户手机：</div>
                                    <input type="text" name="phone" id="phone" value="请输入用户手机" class="search-value">
                                </div>
                                
                                 <div class="toolbor-module search">
                                <div class="formTit">订单号：</div>
                                    <input type="text" name="orderNo" id="orderNo" value="请输入订单号" class="search-value">
                                </div>
                                
                               	
					        
                                <div class="toolbor-module search" style="clean:right;margin-right:125px">
                                    <div class="formTit">添加时间：</div>
                                    <input class="_search-value" name="addStartDate" id="addStartDate" value="" onclick="change_picktime()"/>
                                    <div class="formTit"> 到 </div>
                                    <input class="_search-value" name="addEndDate" id="addEndDate" value=""  onclick="change_picktime()"/>
                                </div>
                            </div>
                            <!--工具栏--}-->

                            <div id="main" class="clearfix">
                                <form action="" method="post">
                                    <table class="data-list">
                                        <tr class="header">
                                           
                                            <td>用户名</td>
                                            <td>真实姓名</td>
                                            <td>订单号</td>
                                            <td>提现金额</td>
                                           
                                         	<td>提现银行</td>
                                         	<td>提现卡号</td>
                                         	<td>开户支行</td>
                                         	<td>开户省市</td>
                                         	<td>交易类型</td>
                                         	<td>申请时间</td>
                                         	<td>提现类型</td>
                                         	<td>状态</td>
                                        </tr>
                                        <#if list?? && (list?size > 0)> 
                                        	<#list list as obj>
                                            <tr class="s">
                                              
	                                            <td>${obj.user.userName!''}</td>
	                                            <td>${obj.user.realName!''}</td>
	                                            <td>${obj.orderNo!''}</td>
	                                            <td>${(obj.money!0)?c}</td>
	                                            
	                                         	<td>${obj.bankCard.bankShortName!''}</td>
	                                         	<td>${obj.bankCard.cardNo!''}</td>
	                                         	<td>${obj.bankCard.brabankName!''}</td>
	                                         	<td><#if obj.province??>${obj.province.province!''}</#if> <#if obj.province??>${obj.city.city!''}</#if></td>
	                                         	<td>
	                                         	<#if obj.tradeType==112>
	                                         	资产管理公司借款提现
	                                         	<#elseif obj.tradeType==113>
	                                         	奖励提现
	                                         	<#elseif obj.tradeType==114>
	                                         	准备金提现
	                                         	<#else>
	                                         	</#if>
	                                         	</td>
	                                         	<td>${obj.addTime?string("yyyy-MM-dd HH:mm:ss")}</td>
	                                         	<td>
	                                         	<#if obj.cashType==1>
	                                         	人工付款
	                                         	<#elseif obj.cashType==2>
	                                         	渠道付款
	                                         	<#elseif obj.cashType==3>
	                                         	支付付款
	                                         	
	                                         	<#else>
	                                         	</#if>
	                                         	</td>
	                                         	<td>
	                                         	<#if obj.status==1>
	                                         	审核通过
	                                         	<#elseif obj.status==2>
	                                         	申请中
	                                         	<#elseif obj.status==3>
	                                         	审核中
	                                         	<#elseif obj.status==4>
	                                         	审核不通过
	                                         	<#elseif obj.status==5>
	                                         	用户取消
	                                         	<#else>
	                                         	</#if>
	                                         	</td>
                                            </tr>
                                       	 	</#list> 
                                        </#if>
                                    </table>
                                </form>

                                <!--底部工具栏--{-->
                                <div id="bottomToolbar" class="clearfix">
                                    <div class="other-tool">
                                        <dl class="refresh-data">
                                            <dt class="refresh-data-icon"></dt>
                                            <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                        </dl>
                                    </div>

                                    <!--翻页系统--{-->
                                    <div class="container s_formPage">
                                        <#import "../../common/page.html" as pager>
                                            <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                                    </div>
                                    <!--翻页系统--}-->
                                </div>
                                <!--底部工具栏--}-->

                                <script type="text/javascript">
                                    var url='admin/reservefund/viewAllCash.html';
                                    function sousuo(){
                    					var sou = "";
                    					var userName = $("#userName").val();
                    					if (userName!=""&&userName!="请输入用户名"){
                    						sou += "&userName="+userName;
                    					}
                    					var orderNo = $("#orderNo").val();
                    					if (orderNo!=""&&orderNo!="请输入订单号"){
                    						sou += "&orderNo="+orderNo;
                    					}
                    					var userId = $("#userId").val();
                    					if(userId!=""&&userId!="请输入用户ID"){
                    						sou += "&userId="+userId;
                    					}
                    					var phone = $("#phone").val();
                    					if(phone!=""&&phone!="请输入用户手机"){
                    						sou += "&phone="+phone;
                    					}
                   					    var addStartDate = $("#addStartDate").val();
                                       	var addEndDate = $("#addEndDate").val();
                                        if (addStartDate!=null){
                                            sou += "&addStartDate="+addStartDate;
                                        }
                                        if (addEndDate!=null){
                                            sou += "&addEndDate="+addEndDate;
                                        }
                                        var tradeType = $("#tradeType").find(".open-selected").attr("data-value");
                                        if(tradeType!=null&&tradeType!=""&&tradeType!="undefine"){
                                        	sou += "&tradeType="+tradeType;
                                        }
                                        var status = $("#status").find(".open-selected").attr("data-value");
                                        if(status!=null&&status!=""&&status!="undefine"){
                                        	sou += "&status="+status;
                                        }
                                        /*var payType = $("#payType").find(".open-selected").attr("data-value");
                                        if(payType!=null&&payType!=""&&payType!="undefine"){
                                        	sou += "&payType="+payType;
                                        }*/
                    					if (sou!=""){
                    							location.href=url+sou;
                    						}
                    					}
                              
                                </script>
                            </div>

            </td>
        </tr>
        <tr>
            <!--尾部--{-->
            <td colspan="3" class="mc-b"><#include "../foot.html"></td>
            <!--尾部--}-->
        </tr>
    </table>

    </body>
</html>
<#include "../jsPage.html">
